ADD_DEFINITIONS( -Wall -O0 -ggdb )

ADD_LIBRARY(golf SHARED
#Decimal.cpp
Golfhole.cpp
Rating.cpp
Teebox.cpp
Golfcourse.cpp
Mutex.cpp
MutexLocker.cpp
Uuid.cpp
#BigRational.cpp
)

INCLUDE( FindGLIB2.cmake )
INCLUDE( FindUUID.cmake )
#INCLUDE( FindGMP.cmake )

INCLUDE_DIRECTORIES(
${GLIB2_INCLUDE_DIRS}
${UUID_INCLUDE_DIRS}
#${GMP_INCLUDE_DIRS}
#${GMPXX_INCLUDE_DIRS}
)

TARGET_LINK_LIBRARIES( golf
${GLIB2_LIBRARIES}
${UUID_LIBRARIES}
#${GMP_LIBRARIES}
#${GMPXX_LIBRARIES}
#gthread-2.0
#${GTK2_LIBRARIES}
)
